<?php /* Smarty version Smarty 3.1.0, created on 2024-11-02 15:07:20
         compiled from "D:\3lzy\svn\www.uri.com/static/tpl\admin\add_role.html" */ ?>
<?php /*%%SmartyHeaderCode:278726725cfa8aee8c5-46695977%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ddf4b7f7a7d48bc3a7bb520372ea115dfd9181bd' => 
    array (
      0 => 'D:\\3lzy\\svn\\www.uri.com/static/tpl\\admin\\add_role.html',
      1 => 1727590703,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '278726725cfa8aee8c5-46695977',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pagetype' => 0,
    'formaction' => 0,
    'roleid' => 0,
    'role_name' => 0,
    'desc' => 0,
    'status' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty 3.1.0',
  'unifunc' => 'content_6725cfa8b735d',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6725cfa8b735d')) {function content_6725cfa8b735d($_smarty_tpl) {?><link href="/static/js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="/static/js/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.form-control {
  width:25%;
}
</style>
<body>
<div class="page-header" style="margin: 20px 0 20px;">
	<span style="margin:0 0 20px 10px;">当前位置：<a href="?g=menu&r=adAdmin/rolelist">角色列表</a> >> <?php if ($_smarty_tpl->tpl_vars['pagetype']->value==1){?>添加角色<?php }else{ ?>修改角色<?php }?></span>
</div>
<form class="form-horizontal" action="<?php echo $_smarty_tpl->tpl_vars['formaction']->value;?>
" method="post">
	<input type="hidden" name="roleid" value=<?php echo $_smarty_tpl->tpl_vars['roleid']->value;?>
 />
	<div class="form-group">
    	<label for="role_name" class="col-sm-2 control-label">角色名称：</label>
	    <div class="col-sm-10">
	      <input type="text" class="form-control" id="role_name" name="role_name" placeholder="请输入角色名称" value="<?php echo $_smarty_tpl->tpl_vars['role_name']->value;?>
">
	    </div>
    </div>
    <div class="form-group">
    	<label for="desc" class="col-sm-2 control-label">描述：</label>
	    <div class="col-sm-10">
	    	<textarea class="form-control" id="desc" name="desc" rows="5" cols="32" placeholder="请输入角色描述信息"><?php echo $_smarty_tpl->tpl_vars['desc']->value;?>
</textarea>
	    </div>
    </div>
    <div class="form-group">
    	<label for="isshow" class="col-sm-2 control-label">状态：</label>
	    <div class="col-sm-10">
	    	<input name="status" value="1" type="radio" <?php if ($_smarty_tpl->tpl_vars['status']->value==1){?> checked="checked"<?php }?>/>启用
            <input name="status" value="0" type="radio" <?php if ($_smarty_tpl->tpl_vars['status']->value==0){?> checked="checked"<?php }?>/>禁用
	    </div>
    </div>
    <div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
			<button type="submit" class="btn btn-default">提交</button>
		</div>
	</div>
</form>
</body><?php }} ?>